package controller;

import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;

import dao.ThamsochungDAO;

@ManagedBean(name="publicBean")
@ApplicationScoped
public class PublicBean {
	public String GetRowColor(int id)
	{
		System.out.println("GetColor");
		if (0 == id % 2)
			return "rowChan";
		return "rowLe";
	}
	
}
